package cn.iocoder.yudao.module.tms.controller.admin.bandinfo.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.math.BigDecimal;

import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 公司band信息新增/修改 Request VO")
@Data
public class BandInfoSaveReqVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "21824")
    private Long id;

    @Schema(description = "band编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "TMB001")
    @NotEmpty(message = "band编号不能为空")
    private String code;

    @Schema(description = "总金额", requiredMode = Schema.RequiredMode.REQUIRED, example = "19911")
    @NotNull(message = "总金额不能为空")
    private BigDecimal totalAmount;

    @Schema(description = "比例", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotNull(message = "比例不能为空")
    private BigDecimal ratio;

    @Schema(description = "描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "描述不能为空")
    private String description;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotEmpty(message = "状态不能为空")
    private String status;

}